package com.beta.user.auth.center.service.constant;

/**
 * @author gwqin
 * @description
 * @date 2023-07-14 13:24
 */
public class BusinessConstant {

    private BusinessConstant(){}

    public static final int BETA_USER_REGISTER_FLAG = 1;

    public static final int NORMAL_FLAG = 0;

    public static final String BETA_USER_REGISTER_LOCK_KEY = "USER_AUTH_CENTER:REGISTER:USERID:%s";

    /**
     * 通过corp获取agentId
     */
    public static final String AUTH_CORP_INFO_CACHE = "USER_AUTH_CENTER:AuthCorpInFo:%s";

    /**
     * 保证只有一个线程去调用SAAS API注册
     */
    public static final Long BETA_USER_REGISTER_LOCK_TIME = 5L * 1000;

}
